package myalg.graphs;

import java.util.ArrayList;
import java.util.Collection;

/**
 * @author Pavel Belevich
 *         Date: Jun 13, 2012
 *         Time: 2:15:50 PM
 */
public class Graph {

    private Collection<Vertex> vertices = new ArrayList<Vertex>();
    private Collection<Edge> egdes = new ArrayList<Edge>();
    private Caption caption;

    public Collection<Edge> getEgdes() {
        return egdes;
    }

    public void setEgdes(Collection<Edge> egdes) {
        this.egdes = egdes;
    }

    public Collection<Vertex> getVertices() {
        return vertices;
    }

    public void setVertices(Collection<Vertex> vertices) {
        this.vertices = vertices;
    }

    public Caption getCaption() {
        return caption;
    }

    public void setCaption(Caption caption) {
        this.caption = caption;
    }
}
